﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <title>@ViewBag.Title</title>
    <!--css-->
    <link href="~/Content/plugin/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="~/Content/adminlte/css/AdminLTE.min.css" rel="stylesheet" />
    <link href="~/Content/plugin/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="~/Content/adminlte/css/skins/all-skins.min.css" rel="stylesheet" />
    <link href="~/Content/system/css/style.css" rel="stylesheet" />
    <link href="~/Content/mobile/mobile.css" rel="stylesheet" />
    <link href="~/Content/plugin/sidebar/css/float-module.min.css" rel="stylesheet" />
    <!--js-->
    <script src="~/Content/plugin/jquery/jquery.min.js"></script>
    <script src="~/Content/plugin/layer/layer.min.js"></script>
    <script src="~/Content/plugin/jquery.blockUI/jquery.blockUI.min.js"></script>
    <script src="~/Content/plugin/echarts/jquery.ba-resize.min.js"></script>
    <script src="~/Content/mobile/mobile.js"></script>
    <script src="~/Content/plugin/sidebar/js/float-module.min.js"></script>
    <script src="~/Content/framework/js/framework.min.js"></script>
    <script src="~/Content/framework/js/framework-extension.js"></script>
    <script src="~/Content/system/js/disable-devtool@latest.js"></script>

    @RenderSection("header", false)
    <style>
        .box, .row {
            margin-bottom: 10px;
        }

        .box-title {
            font-weight: normal;
        }

        /*---滚动条默认显示样式--*/
        ::-webkit-scrollbar-thumb {
            height: 50px;
            outline-offset: -2px;
            outline: 2px solid #fff;
            -webkit-border-radius: 4px;
            border: 2px solid #fff;
        }

            /*---鼠标点击滚动条显示样式--*/
            ::-webkit-scrollbar-thumb:hover {
                height: 50px;
                -webkit-border-radius: 4px;
            }

        /*---滚动条大小--*/
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        /*---滚动框背景样式--*/
        ::-webkit-scrollbar-track-piece {
            -webkit-border-radius: 0;
        }

        ::-webkit-scrollbar-track {
            background-color: #eee;
        }
        /* 滚动条的滑轨背景颜色 */
        ::-webkit-scrollbar-thumb {
            background-color: rgba(0, 0, 0, 0.2);
        }
        /* 滑块颜色 */
        ::-webkit-scrollbar-button {
            background-color: #eee;
        }
        /* 滑轨两头的监听按钮颜色 */
        ::-webkit-scrollbar-corner {
            background-color: black;
        }

        .scrollable-div {
            overflow-y: scroll;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .scrollable-div::-webkit-scrollbar {
            display: none;
        }
        .btn{ 
            padding:6px;
        }
    </style>
</head>
<body class="gray-bg">
    <div class="wrapper">
        @RenderBody()
    </div>
    <script src="~/Content/adminlte/js/adminlte.min.js"></script>
    <script>
        $(function () {
            if (frame.isMobile()) {
                new FloatModule({
                    animation: 'spring-in',
                    btn_config: [
                        {
                            icon: 'fa fa-share-alt'
                        },
                        {
                            icon: 'fa fa-home',
                            title: '回到首页',
                            click: function () {
                                location.href = '/Home/Index';
                            }
                        },
                        {
                            icon: 'fa fa-sign-out',
                            title: '退出系统',
                            click: function () {
                                logOut();
                            }
                        }]
                });
                $('.fm-li').css("right", "50px").css("bottom", "50px")
            }
        })
         //退出登录
        function logOut() {
            frame.confirm("确认要退出登录吗？", function () {
                window.location.href = '@Url.Content("/Login/Logout")';
            });
        }
        DisableDevtool({
            ignore: () => {
                return '@OperatorProvider.Provider.GetCurrent().IsSystem'.toUpperCase() === 'TRUE';
            }
        });
    </script>
</body>
</html>